﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class DetailDemandeBLL : OpenLab.BLL.IDetailDemandeBLL
    {
        public DetailDemande Add(DetailDemande detailDemande)
        {
            return new DetailDemandeDAL().Add(detailDemande);
        }

        public int DeleteById(int id)
        {
            return new DetailDemandeDAL().DeleteById(id);
        }

		public int Update(DetailDemande detailDemande)
        {
            return new DetailDemandeDAL().Update(detailDemande);
        }
        

        public DetailDemande GetById(int id)
        {
            return new DetailDemandeDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new DetailDemandeDAL().GetTotalCount();
		}
		
		public IEnumerable<DetailDemande> GetPagedData(int minrownum,int maxrownum)
		{
			return new DetailDemandeDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<DetailDemande> GetAll()
		{
			return new DetailDemandeDAL().GetAll();
		}
    }
}
